<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GtkTreeItem</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="GTK+ 2 Reference Manual">
<link rel="up" href="DeprecatedObjects.html" title="Deprecated">
<link rel="prev" href="GtkTree.html" title="GtkTree">
<link rel="next" href="migrating.html" title="Part IV. Migrating from Previous Versions of GTK+">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="GtkTree.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="DeprecatedObjects.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GTK+ 2 Reference Manual</th>
<td><a accesskey="n" href="migrating.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#GtkTreeItem.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#GtkTreeItem.description" class="shortcut">Description</a>
                   | 
                  <a href="#GtkTreeItem.object-hierarchy" class="shortcut">Object Hierarchy</a>
                   | 
                  <a href="#GtkTreeItem.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
                   | 
                  <a href="#GtkTreeItem.signals" class="shortcut">Signals</a>
</td></tr>
</table>
<div class="refentry">
<a name="GtkTreeItem"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GtkTreeItem.top_of_page"></a>GtkTreeItem</span></h2>
<p>GtkTreeItem — The widget used for items in a GtkTree</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="GtkTreeItem.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include &lt;gtk/gtk.h&gt;

struct              <a class="link" href="GtkTreeItem.html#GtkTreeItem-struct" title="struct GtkTreeItem">GtkTreeItem</a>;
#define             <a class="link" href="GtkTreeItem.html#GTK-TREE-ITEM-SUBTREE:CAPS" title="GTK_TREE_ITEM_SUBTREE()">GTK_TREE_ITEM_SUBTREE</a>               (obj)
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="GtkTreeItem.html#gtk-tree-item-new" title="gtk_tree_item_new ()">gtk_tree_item_new</a>                   (<em class="parameter"><code><span class="type">void</span></code></em>);
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="GtkTreeItem.html#gtk-tree-item-new-with-label" title="gtk_tree_item_new_with_label ()">gtk_tree_item_new_with_label</a>        (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GtkTreeItem.html#gtk-tree-item-set-subtree" title="gtk_tree_item_set_subtree ()">gtk_tree_item_set_subtree</a>           (<em class="parameter"><code><a class="link" href="GtkTreeItem.html" title="GtkTreeItem"><span class="type">GtkTreeItem</span></a> *tree_item</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *subtree</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GtkTreeItem.html#gtk-tree-item-remove-subtree" title="gtk_tree_item_remove_subtree ()">gtk_tree_item_remove_subtree</a>        (<em class="parameter"><code><a class="link" href="GtkTreeItem.html" title="GtkTreeItem"><span class="type">GtkTreeItem</span></a> *tree_item</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GtkTreeItem.html#gtk-tree-item-select" title="gtk_tree_item_select ()">gtk_tree_item_select</a>                (<em class="parameter"><code><a class="link" href="GtkTreeItem.html" title="GtkTreeItem"><span class="type">GtkTreeItem</span></a> *tree_item</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GtkTreeItem.html#gtk-tree-item-deselect" title="gtk_tree_item_deselect ()">gtk_tree_item_deselect</a>              (<em class="parameter"><code><a class="link" href="GtkTreeItem.html" title="GtkTreeItem"><span class="type">GtkTreeItem</span></a> *tree_item</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GtkTreeItem.html#gtk-tree-item-expand" title="gtk_tree_item_expand ()">gtk_tree_item_expand</a>                (<em class="parameter"><code><a class="link" href="GtkTreeItem.html" title="GtkTreeItem"><span class="type">GtkTreeItem</span></a> *tree_item</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GtkTreeItem.html#gtk-tree-item-collapse" title="gtk_tree_item_collapse ()">gtk_tree_item_collapse</a>              (<em class="parameter"><code><a class="link" href="GtkTreeItem.html" title="GtkTreeItem"><span class="type">GtkTreeItem</span></a> *tree_item</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="GtkTreeItem.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
   +----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
         +----<a class="link" href="GtkObject.html" title="GtkObject">GtkObject</a>
               +----<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
                     +----<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
                           +----<a class="link" href="GtkBin.html" title="GtkBin">GtkBin</a>
                                 +----<a class="link" href="GtkItem.html" title="GtkItem">GtkItem</a>
                                       +----GtkTreeItem
</pre>
</div>
<div class="refsect1">
<a name="GtkTreeItem.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GtkTreeItem implements
 AtkImplementorIface and  <a class="link" href="GtkBuildable.html" title="GtkBuildable">GtkBuildable</a>.</p>
</div>
<div class="refsect1">
<a name="GtkTreeItem.signals"></a><h2>Signals</h2>
<pre class="synopsis">
  "<a class="link" href="GtkTreeItem.html#GtkTreeItem-collapse" title='The "collapse" signal'>collapse</a>"                                       : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a>
  "<a class="link" href="GtkTreeItem.html#GtkTreeItem-expand" title='The "expand" signal'>expand</a>"                                         : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a>
</pre>
</div>
<div class="refsect1">
<a name="GtkTreeItem.description"></a><h2>Description</h2>
<p>
</p>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p>
<a class="link" href="GtkTree.html" title="GtkTree"><span class="type">GtkTree</span></a> is deprecated and unsupported. It is known to be
buggy. To use it, you must define the symbol <code class="literal">GTK_ENABLE_BROKEN</code>
prior to including the GTK+ header files. Use <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> instead.
</p>
</div>
<p>
</p>
</div>
<div class="refsect1">
<a name="GtkTreeItem.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GtkTreeItem-struct"></a><h3>struct GtkTreeItem</h3>
<pre class="programlisting">struct GtkTreeItem;</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GtkTreeItem</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-TREE-ITEM-SUBTREE:CAPS"></a><h3>GTK_TREE_ITEM_SUBTREE()</h3>
<pre class="programlisting">#define GTK_TREE_ITEM_SUBTREE(obj)      (GTK_TREE_ITEM(obj)-&gt;subtree)
</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GTK_TREE_ITEM_SUBTREE</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-item-new"></a><h3>gtk_tree_item_new ()</h3>
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         gtk_tree_item_new                   (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_tree_item_new</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-item-new-with-label"></a><h3>gtk_tree_item_new_with_label ()</h3>
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         gtk_tree_item_new_with_label        (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_tree_item_new_with_label</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-item-set-subtree"></a><h3>gtk_tree_item_set_subtree ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_tree_item_set_subtree           (<em class="parameter"><code><a class="link" href="GtkTreeItem.html" title="GtkTreeItem"><span class="type">GtkTreeItem</span></a> *tree_item</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *subtree</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_tree_item_set_subtree</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-item-remove-subtree"></a><h3>gtk_tree_item_remove_subtree ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_tree_item_remove_subtree        (<em class="parameter"><code><a class="link" href="GtkTreeItem.html" title="GtkTreeItem"><span class="type">GtkTreeItem</span></a> *tree_item</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_tree_item_remove_subtree</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-item-select"></a><h3>gtk_tree_item_select ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_tree_item_select                (<em class="parameter"><code><a class="link" href="GtkTreeItem.html" title="GtkTreeItem"><span class="type">GtkTreeItem</span></a> *tree_item</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_tree_item_select</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-item-deselect"></a><h3>gtk_tree_item_deselect ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_tree_item_deselect              (<em class="parameter"><code><a class="link" href="GtkTreeItem.html" title="GtkTreeItem"><span class="type">GtkTreeItem</span></a> *tree_item</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_tree_item_deselect</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-item-expand"></a><h3>gtk_tree_item_expand ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_tree_item_expand                (<em class="parameter"><code><a class="link" href="GtkTreeItem.html" title="GtkTreeItem"><span class="type">GtkTreeItem</span></a> *tree_item</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_tree_item_expand</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-item-collapse"></a><h3>gtk_tree_item_collapse ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_tree_item_collapse              (<em class="parameter"><code><a class="link" href="GtkTreeItem.html" title="GtkTreeItem"><span class="type">GtkTreeItem</span></a> *tree_item</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_tree_item_collapse</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
</p>
</div>
</div>
<div class="refsect1">
<a name="GtkTreeItem.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="GtkTreeItem-collapse"></a><h3>The <code class="literal">"collapse"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GtkTreeItem.html" title="GtkTreeItem"><span class="type">GtkTreeItem</span></a> *treeitem,
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>     user_data)      : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a></pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>treeitem</code></em> :</span></p></td>
<td>the object which received the signal.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeItem-expand"></a><h3>The <code class="literal">"expand"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GtkTreeItem.html" title="GtkTreeItem"><span class="type">GtkTreeItem</span></a> *treeitem,
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>     user_data)      : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a></pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>treeitem</code></em> :</span></p></td>
<td>the object which received the signal.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.18</div>
</body>
</html>